package criptosuma.formulation.constraints;

import java.util.ArrayList;
import java.util.List;

import es.deusto.ingenieria.is.csp.formulation.Constraint;
import es.deusto.ingenieria.is.csp.formulation.Variable;

public class SumConstraint extends Constraint<Integer> 
{
	private List<Variable<Integer>> left;
	private List<Variable<Integer>> right;
	
	
	public SumConstraint(String name, List<Variable<Integer>> operandos, List<Variable<Integer>> rdo)
	{
		super(name, null);
		left = new ArrayList<Variable<Integer>>(operandos);
		right = new ArrayList<Variable<Integer>>(rdo);
	}
	
	@Override
	public boolean isSatisfied(Variable<Integer> arg0, Integer arg1) 
	{
		// TODO Auto-generated method stub
		return false;
	}
	
	@Override
	public String toString()
	{
		//TODO
		return null;
	}
	
	private void addConstraint(List<Variable<Integer>> variables)
	{
		
	}

	public List<Variable<Integer>> getLeft() {
		return left;
	}

	public void setLeft(List<Variable<Integer>> left) {
		this.left = left;
	}

	public List<Variable<Integer>> getRight() {
		return right;
	}

	public void setRight(List<Variable<Integer>> right) {
		this.right = right;
	}
	
	
}
